<template>
  <KView class="personal-circle-stat">
    <KView class="personal-circle-stat-item">
      <KView class="personal-circle-stat-item-value">{{statData.spaceCount}}</KView>
      <KView class="personal-circle-stat-item-label">发布动态</KView>
      <KView class="personal-circle-stat-item-line"></KView>
    </KView>
    <KView class="personal-circle-stat-item">
      <KView class="personal-circle-stat-item-value">{{statData.readCount}}</KView>
      <KView class="personal-circle-stat-item-label">浏览量</KView>
      <KView class="personal-circle-stat-item-line"></KView>
    </KView>
    <KView class="personal-circle-stat-item">
      <KView class="personal-circle-stat-item-value">{{statData.praiseCount}}</KView>
      <KView class="personal-circle-stat-item-label">累计获赞</KView>
      <KView class="personal-circle-stat-item-line"></KView>
    </KView>
    <KView class="personal-circle-stat-item">
      <KView class="personal-circle-stat-item-value">{{statData.logCount}}</KView>
      <KView class="personal-circle-stat-item-label">累计评论</KView>
    </KView>
  </KView>
</template>

<script>
  export default {
    props: {
      statData: {
        type: Object,
        required: true
      }
    },

    data() {
      return {};
    }
  };

</script>

<style lang="scss">
  .personal-circle-stat {
    display: flex;

    .personal-circle-stat-item {
      flex: 1;
      text-align: center;
      height: formatPx(90);
      position: relative;

      .personal-circle-stat-item-value {
        font-size: formatPx(36);
        height: formatPx(50);
        line-height: formatPx(50);
      }

      .personal-circle-stat-item-label {
        font-size: formatPx(26);
        color: #999999;
        height: formatPx(40);
        line-height: formatPx(40);
      }

      .personal-circle-stat-item-line {
        height: formatPx(64);
        width: 1px;
        background: #999999;
        position: absolute;
        right: 0;
        top: formatPx(13);
      }
    }
  }

</style>
